package demo2.service;

import demo2.dao.UserDao;

public class UserServiceImpl implements UserService{
    UserDao userDao;

    public UserServiceImpl(UserDao userDao){
        this.userDao = userDao;
    }

    @Override
    public int add() {
        return userDao.add();
    }
}
